
#include "pt_update.h"


static int  pt_update_flag = 1;
static char pt_version[128];

int pt_update_get(void)
{
    return pt_update_flag;
}

int pt_update_set(int val)
{
    pt_update_flag = val;
    return pt_update_flag;
}


int pt_version_set(char * str)
{
    memset(pt_version,0,sizeof(0));
    snprintf(pt_version,128,"%s",str);

    return 0;
}

char * pt_version_get(void)
{
    return (char *)pt_version;
}


